package com.ricchieri.dao.interf;

import org.hibernate.SessionFactory;

public interface IGenericDao {

	/**
	 * Get Hibernate Session Factory
	 * 
	 * @return SessionFactory - Hibernate Session Factory
	 */
	public SessionFactory getSessionFactory();

	/**
	 * Set Hibernate Session Factory
	 * 
	 * @param SessionFactory
	 *            - Hibernate Session Factory
	 */
	public  void setSessionFactory(SessionFactory sessionFactory);

	public void add(Object object);

	public void delete(Object object);

	public void update(Object object);

}